package com.leihao.product.domian;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 商品阶梯价格
 */
@ApiModel("商品阶梯价格实体")
public class ProductLadder {

    /**
     * 商品阶梯价格编号
     */
    @ApiModelProperty(value = "主键ID",required = false,example = "1",dataType = "Integer")
   private Integer productLadderId;

    /**
     * 商品编号
     */
    @ApiModelProperty(value = "商品编号",required = false,example = "1",dataType = "Integer")
   private Integer productId;

    /**
     * 满足的商品数量
     */
    @ApiModelProperty(value = "满足的商品数量",required = false,example = "1",dataType = "Integer")
   private Integer productCount;
    /**
     * 折扣
     */
    @ApiModelProperty(value = "折扣",required = false,dataType = "String")
    private BigDecimal discount;
    /**
     * 折后价格
     */
    @ApiModelProperty(value = "折后价格",required = false,dataType = "String")
    private BigDecimal discountPrices;

    public Integer getProductLadderId() {
        return productLadderId;
    }

    public void setProductLadderId(Integer productLadderId) {
        this.productLadderId = productLadderId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getProductCount() {
        return productCount;
    }

    public void setProductCount(Integer productCount) {
        this.productCount = productCount;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public BigDecimal getDiscountPrices() {
        return discountPrices;
    }

    public void setDiscountPrices(BigDecimal discountPrices) {
        this.discountPrices = discountPrices;
    }

    public ProductLadder() {
    }

    public ProductLadder(Integer productLadderId, Integer productId, Integer productCount, BigDecimal discount, BigDecimal discountPrices) {
        this.productLadderId = productLadderId;
        this.productId = productId;
        this.productCount = productCount;
        this.discount = discount;
        this.discountPrices = discountPrices;
    }
}
